package cn.lutu.protocol.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CategoryAddNewParam {

    private Long id;
    private Long parentId;
    @NotBlank(message = "类别名称不能为空，请提交类别名称")
    private String name;


}
